/*****************************************************************************
Copyright (c) 2011 Nokia Siemens Networks. All rights reserved.

This software is proprietary to and embodies the confidential technology 
of Nokia Siemens Networks. Possession, use, or copying of this software 
and media is authorized only pursuant to a valid written license from 
Nokia Siemens Networks.
*****************************************************************************/
package com.fashion.model.gallery;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Description TODO
 *
 * <br><b>Change Note:</b>
 * <ul>
 * <li>Date:</li>
 * <li>Modifier:</li>
 * <li>Description:</li>
 * </ul>
 *
 * @author TODO created at Jun 25, 2011
 */
@Entity
@Table(name="FASHION.GA_RECOMMEND_PHOTO")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class RecommendPhoto {
    @Id 
    @GeneratedValue(strategy=GenerationType.AUTO)
    @Column(name="ID")
    private String id;
    @Column(name="NAME")
    private String name;
    @Column(name="LINK")
    private String link;
    @Column(name="DATE")
    private Date date;
    
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getLink() {
        return link;
    }
    public void setLink(String link) {
        this.link = link;
    }
    public Date getDate() {
        return date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
    
    
}
